import { Module } from "@nestjs/common";
import { PassportModule } from "@nestjs/passport";
import { UserService } from "./user.service";
import { UserController } from "./user.controller";
import { UserProvider } from "./user.provider";

@Module({
    imports:[PassportModule.register({defaultStrategy:'jwt'}),],
    controllers:[UserController],
    providers:[
        ...UserProvider,UserService
    ],
    exports:[UserService]
})
export class UserModule{}